<%@ page language="C#" autoeventwireup="true" CodeBehind="DocAdd.aspx.cs" inherits="PayRoller.Manage.Documents.DocAdd" %>

<%@ Register src="../../Include/UOrgNameInput.ascx" tagname="UOrgNameInput" tagprefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
	<LINK href="../css.css" type="text/css" rel="stylesheet">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script language=javascript>
function Check() {
var vtxtFilename=document.getElementById("txtFilename");
					
if( vtxtFilename.value.length == 0 )
{
alert("Field 'File name' is not valid!");
vtxtFilename.focus();
return false;
}						
		
return true;
}
</script>
</head>
<body topmargin="0" leftmargin="0">
    <form id="form1" runat="server">
    <div>
      <table width="550" border="0" cellspacing="1" cellpadding="1" align="center" class="NormalText">
        <tr>
          <td height="80" colspan="2">&nbsp;</td>
        </tr>
        <tr>
          <td width="30%" height="24" align="left">Select Org Name:</td>
          <td align="left"> 
              <uc1:UOrgNameInput ID="UOrgNameInput1" runat="server" />
            </td>
        </tr>
        <tr>
          <td width="30%" height="24" align="left">File name:</td>
          <td align="left"><asp:TextBox ID="txtFilename" runat="server" style="width:300px"></asp:TextBox></td>
        </tr>
        <tr>
          <td height="24" align="left">Please select the file:</td>
          <td height="25" align="left"><asp:FileUpload ID="FileUpload1" runat="server" style="width:350px"/></td>
        </tr>
        <tr>
          <td height="25" colspan="2"><div align="center">
          <asp:Button ID="bnUpload" runat="server" OnClick="bnUpload_Click" Text="Upload" />&nbsp;</div></td>
        </tr>
        <tr>
          <td colspan="2">
          <asp:Label ID="lblTip" runat="server"></asp:Label></td>
        </tr>
      </table>
    
    </div>
    </form>
</body>
</html>
